<?php

namespace app\common\validate;

use think\Validate;

class ShipOrder extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
    	'agent_id' => 'require',
//	    'ship_name' => 'require',
//	    'ship_no' => 'require',
//	    'number_list' => 'require',
	    
    ];
    /**
     * 提示消息
     */
    protected $message = [
	    'agent_id' => '收货代理不能为空',
	    'ship_name' => '快递名称不能为空',
	    'ship_no' => '快递单号不能为空',
//	    'number_list' => '出货商品数量不能为空',
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'add'  => [],
        'edit' => [],
    ];
    
}
